* {
  box-sizing: border-box;
}

html {
  height: 100%;
  font-size: 14px;
}

@font-face {
  font-family: 'YourCustomFontBlack';
  src: url('/fonts/Montserrat-Black.otf') format('opentype');
  /* Replace '/path/to/your/font.woff2' with the actual path to your font file */
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'YourCustomFontBold';
  src: url('/fonts/Montserrat-Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'YourCustomFontExtraBold';
  src: url('/fonts/Montserrat-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'YourCustomFontExtraLight';
  src: url('/fonts/Montserrat-ExtraLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'YourCustomFontLight';
  src: url('/fonts/Montserrat-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

/* Medium */
@font-face {
  font-family: 'YourCustomFontMedium';
  src: url('/fonts/Montserrat-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

/* Regular */
@font-face {
  font-family: 'YourCustomFontRegular';
  src: url('/fonts/Montserrat-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* SemiBold */
@font-face {
  font-family: 'YourCustomFontSemiBold';
  src: url('/fonts/Montserrat-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}

/* Thin */
@font-face {
  font-family: 'YourCustomFontThin';
  src: url('/fonts/Montserrat-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
}

/* ThinItalic */
@font-face {
  font-family: 'YourCustomFontThinItalic';
  src: url('/fonts/Montserrat-ThinItalic.otf') format('opentype');
  font-weight: 100;
  font-style: italic;
}
//
//body {
//  font-family: 'YourCustomFont', sans-serif;
//}

body {
  height: 100%;
  color: #333;
  width: 100%;
  font: 1em/1.6 "YourCustomFontRegular", "YourCustomFontExtraLight", 'YourCustomFontBlack', "YourCustomFontBold", "YourCustomFontExtraBold", "YourCustomFontLight", "YourCustomFontMedium", "YourCustomFontSemiBold", "YourCustomFontThin", "YourCustomFontThinItalic",'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB',
    'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif;
}


ul,
h1,
h3,
h4,
h5,
p,
dl,
dd {
  padding: 0;
  margin: 0;
}

div{
  user-select: text
}

a {
  text-decoration: none;
  color: #333;
  outline: none;
}

i {
  font-style: normal;
}

input[type='text'],
input[type='search'],
input[type='password'],
input[type='checkbox'] {
  padding: 0;
  outline: none;
  border: none;
  -webkit-appearance: none;
  &::placeholder {
    color: #ccc;
  }
}

img {
  max-width: 100%;
  max-height: 100%;
  vertical-align: middle;
}

ul {
  list-style: none;
}

#app {
  background: #ffffff;
  user-select: none;
}


::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}



//.container {
//  width: 1240px;
//  margin: 0 auto;
//  position: relative;
//}

.ellipsis {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.ellipsis-2 {
  word-break: break-all;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.clearfix:after {
  content: '.';
  display: block;
  visibility: hidden;
  height: 0;
  line-height: 0;
  clear: both;
}

// 离开时候的动画
.fade {
  &-leave {
    &-active {
      position: absolute;
      width: 100%;
      transition: opacity 0.5s 0.2s;
      z-index: 1;
    }
    &-to {
      opacity: 0;
    }
  }
}

// transition 动画
// 进入:右往左动画, 透明度0 过渡0.5s => 透明度1
// 离开: 原本weizh 透明度1 过渡0.5s => 透明度0
.fade-right-leave-to,
.fade-right-enter-from {
  opacity: 0;
  transform: translateX(20px);
}
.fade-right-leave-active{
  transition: all 0.5s;
}
.fade-right-enter-active {
  transition: all 0.5s;
}
.fade-right-leave-from,
.fade-right-enter-to {
  transform: none;
  opacity: 1;
}

.slide-fade-enter-active, .slide-fade-leave-active {
  transition: all 0.3s ease;
}
.slide-fade-enter-from, .slide-fade-leave-to {
  transform: translateX(-20px);
  opacity: 0;
}
.slide-fade-leave-active {
  transition: all 0.3s ease-in;
}
.slide-fade-leave-from {
  transform: translateX(0px);
  opacity: 1;
}
.slide-fade-leave-to {
  transform: translateX(20px);
  opacity: 0;
}



.slide-enter-active {
  transition-duration: 0.3s;
  transition-timing-function: ease-in;
}

.slide-leave-active {
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}

.slide-enter-to,
.slide-leave-from {
  overflow: hidden;
}

.slide-enter-from,
.slide-leave-to {
  overflow: hidden;
  height: 0;
}




.container-row{
  max-width: 1600px;
}
.container-xxl{
  --bs-gutter-x: 1.5rem;
  --bs--gutter-y: 0;
  width: 100%;
  //padding-right: calc(var(--bs-gutter-x)* .5);
  //padding-left: calc(var(--bs-gutter-x)* .5);
  margin-right: auto;
  margin-left: auto;
}

//.centered-container {
//  margin: 0 500px;
//  transition: margin 0.3s ease;
//  min-width: 1200px;
//}
//
///* 使用媒体查询逐步降低margin，直至屏幕宽度较小时为0 */
//@media (max-width: 1900px) {
//  .centered-container {
//    margin: 0 300px;
//  }
//}
//
//@media (max-width: 1900px) {
//  .centered-container {
//    margin: 0 150px;
//  }
//}
//
//@media (max-width: 1300px) {
//  .centered-container {
//    margin: 0 50px;
//  }
//}
//
//@media (max-width: 1080px) {
//  .centered-container {
//    margin: 0 0px;
//  }
//}